<template>
  <div class="demo">
    <div class="demo-title">基本用法</div>
    <div class="demo-content">
      <Space>
        Space
        <Button type="primary">Button</Button>
        <Upload>
          <Button><UploadOutlined />Click to Upload</Button>
        </Upload>
        <Popconfirm title="Are you sure delete this task?" ok-text="Yes" cancel-text="No">
          <Button>Confirm</Button>
        </Popconfirm>
      </Space>
    </div>
  </div>
</template>

<script lang="ts" setup>
  import { UploadOutlined } from '@ant-design/icons-vue';
  import Button from '@sscd/button';
  import Popconfirm from '@sscd/popconfirm';
  import Upload from '@sscd/upload';
  import Space from '@sscd/space';
</script>
